package org.example.server.goods.service.goods;

import org.example.api.goods.goods.request.AddGoodsRequest;
import org.example.api.goods.goods.request.DeleteGoodsRequest;
import org.example.api.goods.goods.request.GoodsSearchRequest;
import org.example.frw.api.base.intf.ID;
import org.example.server.goods.service.goods.bo.GoodsFatDetailBo;
import org.example.server.goods.service.goods.bo.GoodsListItemBo;

import java.util.List;

public interface GoodsService {
    ID addGoods(AddGoodsRequest request);

    GoodsFatDetailBo fatDetail(Long id);

    List<GoodsListItemBo> goods(GoodsSearchRequest request);

    Long goodsCount(GoodsSearchRequest request);

    void deleteGoods(DeleteGoodsRequest request);
}
